import server from '../../server/api'
// 请求钱包接口
const getUserInfo = ({commit,state}, params) => {
	server.post("/index/Weixinlogin/verify_login", params, function(res) {

		commit("setUserInfo",res.data)
	})
}
const getMemberInfo = ({commit,state},params)=>{
	server.post("/index/user/getmemberinfo",params,function(res){

		commit("setUserInfo",res.data)
	})
}
export default{
	getUserInfo,
	getMemberInfo
}
